home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLBaseFontElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  147 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLBaseFontElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLBaseFontElement_h__
  6. #define __gen_nsIDOMHTMLBaseFontElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLBaseFontElement */
  19. #define NS_IDOMHTMLBASEFONTELEMENT_IID_STR "a6cf90a6-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLBASEFONTELEMENT_IID \
  22.   {0xa6cf90a6, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLBaseFontElement interface is the interface to a
  27.  * [X]HTML basefont element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLBaseFontElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBASEFONTELEMENT_IID)
  38.  
  39.   /* attribute DOMString color; */
  40.   NS_IMETHOD GetColor(nsAString & aColor) = 0;
  41.   NS_IMETHOD SetColor(const nsAString & aColor) = 0;
  42.  
  43.   /* attribute DOMString face; */
  44.   NS_IMETHOD GetFace(nsAString & aFace) = 0;
  45.   NS_IMETHOD SetFace(const nsAString & aFace) = 0;
  46.  
  47.   /* attribute long size; */
  48.   NS_IMETHOD GetSize(PRInt32 *aSize) = 0;
  49.   NS_IMETHOD SetSize(PRInt32 aSize) = 0;
  50.  
  51. };
  52.  
  53. /* Use this macro when declaring classes that implement this interface. */
  54. #define NS_DECL_NSIDOMHTMLBASEFONTELEMENT \
  55.   NS_IMETHOD GetColor(nsAString & aColor); \
  56.   NS_IMETHOD SetColor(const nsAString & aColor); \
  57.   NS_IMETHOD GetFace(nsAString & aFace); \
  58.   NS_IMETHOD SetFace(const nsAString & aFace); \
  59.   NS_IMETHOD GetSize(PRInt32 *aSize); \
  60.   NS_IMETHOD SetSize(PRInt32 aSize); 
  61.  
  62. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  63. #define NS_FORWARD_NSIDOMHTMLBASEFONTELEMENT(_to) \
  64.   NS_IMETHOD GetColor(nsAString & aColor) { return _to GetColor(aColor); } \
  65.   NS_IMETHOD SetColor(const nsAString & aColor) { return _to SetColor(aColor); } \
  66.   NS_IMETHOD GetFace(nsAString & aFace) { return _to GetFace(aFace); } \
  67.   NS_IMETHOD SetFace(const nsAString & aFace) { return _to SetFace(aFace); } \
  68.   NS_IMETHOD GetSize(PRInt32 *aSize) { return _to GetSize(aSize); } \
  69.   NS_IMETHOD SetSize(PRInt32 aSize) { return _to SetSize(aSize); } 
  70.  
  71. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  72. #define NS_FORWARD_SAFE_NSIDOMHTMLBASEFONTELEMENT(_to) \
  73.   NS_IMETHOD GetColor(nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColor(aColor); } \
  74.   NS_IMETHOD SetColor(const nsAString & aColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColor(aColor); } \
  75.   NS_IMETHOD GetFace(nsAString & aFace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFace(aFace); } \
  76.   NS_IMETHOD SetFace(const nsAString & aFace) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFace(aFace); } \
  77.   NS_IMETHOD GetSize(PRInt32 *aSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
  78.   NS_IMETHOD SetSize(PRInt32 aSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } 
  79.  
  80. #if 0
  81. /* Use the code below as a template for the implementation class for this interface. */
  82.  
  83. /* Header file */
  84. class nsDOMHTMLBaseFontElement : public nsIDOMHTMLBaseFontElement
  85. {
  86. public:
  87.   NS_DECL_ISUPPORTS
  88.   NS_DECL_NSIDOMHTMLBASEFONTELEMENT
  89.  
  90.   nsDOMHTMLBaseFontElement();
  91.  
  92. private:
  93.   ~nsDOMHTMLBaseFontElement();
  94.  
  95. protected:
  96.   /* additional members */
  97. };
  98.  
  99. /* Implementation file */
  100. NS_IMPL_ISUPPORTS1(nsDOMHTMLBaseFontElement, nsIDOMHTMLBaseFontElement)
  101.  
  102. nsDOMHTMLBaseFontElement::nsDOMHTMLBaseFontElement()
  103. {
  104.   /* member initializers and constructor code */
  105. }
  106.  
  107. nsDOMHTMLBaseFontElement::~nsDOMHTMLBaseFontElement()
  108. {
  109.   /* destructor code */
  110. }
  111.  
  112. /* attribute DOMString color; */
  113. NS_IMETHODIMP nsDOMHTMLBaseFontElement::GetColor(nsAString & aColor)
  114. {
  115.     return NS_ERROR_NOT_IMPLEMENTED;
  116. }
  117. NS_IMETHODIMP nsDOMHTMLBaseFontElement::SetColor(const nsAString & aColor)
  118. {
  119.     return NS_ERROR_NOT_IMPLEMENTED;
  120. }
  121.  
  122. /* attribute DOMString face; */
  123. NS_IMETHODIMP nsDOMHTMLBaseFontElement::GetFace(nsAString & aFace)
  124. {
  125.     return NS_ERROR_NOT_IMPLEMENTED;
  126. }
  127. NS_IMETHODIMP nsDOMHTMLBaseFontElement::SetFace(const nsAString & aFace)
  128. {
  129.     return NS_ERROR_NOT_IMPLEMENTED;
  130. }
  131.  
  132. /* attribute long size; */
  133. NS_IMETHODIMP nsDOMHTMLBaseFontElement::GetSize(PRInt32 *aSize)
  134. {
  135.     return NS_ERROR_NOT_IMPLEMENTED;
  136. }
  137. NS_IMETHODIMP nsDOMHTMLBaseFontElement::SetSize(PRInt32 aSize)
  138. {
  139.     return NS_ERROR_NOT_IMPLEMENTED;
  140. }
  141.  
  142. /* End of implementation class template. */
  143. #endif
  144.  
  145.  
  146. #endif /* __gen_nsIDOMHTMLBaseFontElement_h__ */
  147.